package com.zhongli.devplatform.po.view;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author WuXiCheng
 * @version 1.0
 * @date 2020/8/3 16:24
 */
@Data
@TableName(value = "v_user_class_grade_school")
public class ViewUserToSchoolPO {
    @TableField(value = "id")
    private Integer id;

    ///**
    // * 是否是负责人
    // */
    //@TableField(value = "is_admin_teacher")
    //private Integer isAdminTeacher;

    /**
     * 用户类别：0学生，1老师，2家长
     */
    @TableField(value = "category")
    private Integer category;

    /**
     * 昵称
     */
    @TableField(value = "nick_name")
    private String nickName;

    /**
     * 主键自增
     */
    @TableField(value = "clazz_id")
    private Integer clazzId;

    /**
     * 班级名称
     */
    @TableField(value = "class_name")
    private String className;

    @TableField(value = "grade_id")
    private Integer gradeId;

    /**
     * 年级名称
     */
    @TableField(value = "grade_name")
    private String gradeName;

    /**
     * 主键
     */
    @TableField(value = "school_id")
    private Integer schoolId;

    /**
     * 学校名称
     */
    @TableField(value = "school_name")
    private String schoolName;
}
